<div class="wrapper">        
		<!--=======Top Header area======-->
		<div id="header_top">
		  <span class="fr"><a href="<{$APPLICATION_URL}>/Admin/User/changePassword">Tài khoản</a>  <a href="<{$APPLICATION_URL}>/Admin/Users/Logout">Logout</a></span> <!--Float links to left-->		  
		</div>
		<!--End Header top Area=-->
		<!--=========Header Area including search field and logo=========-->
		<div class="header_main clearfix">
                  
		<!--===Search field===-->
		  <div class="header_search">
			<a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/search_icon.png" alt="Search" width="21" height="20" class="search_icon" /></a>
			<input name="textfield" type="text"  id="textfield" class="search_field" />
		  </div>                  
			<!--===Logo===-->
			<a id="logo" href="#">Mua Hội</a>			
		</div>
		<!--End Search field and logo Header Area-->
        
		<!--=========Main Navigation=========-->
		<ul id="main_nav" class="topnav">
			<li><a href="<{$APPLICATION_URL}>/Admin" <{if $pageName == "dashboard"}> class="current" <{/if}>>Bảng điều khiển</a>				
			</li>

			
			<!-- 
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Page" <{if $pageName == "page"}> class="current" <{/if}>>Pages</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/Page">Dynamic pages</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/StaticPage">Static pages</a></li>
				</ul>			
			</li>			
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Blog" <{if $pageName == "admin_blog"}> class="current" <{/if}>>Blog</a>			
			</li>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Template" <{if $pageName == "templates" || $pageName == "templates_gallery"}> class="current" <{/if}>>Templates</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/TemplateCategory">Template Category</a></li>
					<{if $pageName == "templates_gallery"}>
					<li><a href="<{$APPLICATION_URL}>/Admin/TemplatePhoto/Index/templateId/<{$templateId}>">Template Gallery</a></li>
					<{/if}>									
				</ul>			
			</li>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Faq" <{if $pageName == "faq" || $pageName == "faq_category"}> class="current" <{/if}>>FAQ</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/FaqCategory">FAQ Category</a></li>													
				</ul>			
			</li>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Users" <{if $pageName == "user"}> class="current" <{/if}>>Users</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/Users/add/type/0">Add New User</a></li>
				</ul>			
			</li>-->
			<{if $isSuperAdmin == true || $sUserType == 'DEALMANAGER'}>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Groupon" <{if $pageName == "groupon"}> class="current" <{/if}>>Groupon</a>
				<ul class="subnav">
					<li><a href="<{$APPLICATION_URL}>/Admin/Groupon/index">Danh sách groupon</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Groupon/add">Tạo mới groupon</a></li>
					
				</ul>
			</li>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Deals" <{if $pageName == "deal"}> class="current" <{/if}>>Deals</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index">Tất cả deals</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/0">Chưa kích hoạt</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/1">Đang bán</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/3">Thất bại</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/2">Thành công</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/4">Chờ xử lý</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Deals/index/status/5">Hoàn tất</a></li>
				</ul>
			</li>
			<{/if}>
			<{if $isSuperAdmin == true || $sUserType == 'ACCOUNTANT'}>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/DealOrder" <{if $pageName == "order"}> class="current" <{/if}>>Đơn hàng</a>
				<ul>
					<li><a <{if $submenu == ""}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index">Tất cả</a></li>
					<li><a <{if $submenu == "notconfirm"}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index/status/notconfirm">Chưa xác nhận</a></li>
					<li><a <{if $submenu == "confirmed"}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index/status/confirmed">Đã xác nhận, đang chờ giao</a></li>
					<li><a <{if $submenu == "delivery"}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index/status/delivery">Đang giao hàng</a></li>
					<li><a <{if $submenu == "completed"}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index/status/completed">Hoàn tất</a></li>
					<li><a <{if $submenu == "cancelled"}> class="current" <{/if}> href="<{$APPLICATION_URL}>/Admin/DealOrder/index/status/cancelled">Đã hủy</a></li>
				</ul>
			</li>
			<{/if}>
			<{*}><li>
				<a href="<{$APPLICATION_URL}>/Admin/Billing" <{if $pageName == "billing"}> class="current" <{/if}>>Billing</a>
				<ul>
					<li><a href="<{$APPLICATION_URL}>/Admin/Billing/index">Recent Packages Purchased</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Billing/expired">Expired Packages Purchased</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Billing/active">Active Packages Purchased</a></li>
				</ul>			
			</li><{*}>
			<{if $isSuperAdmin == true}>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/User" <{if $pageName == "user"}> class="current" <{/if}>>User</a>			
			</li>
			<{/if}>
			<li>
				<a href="<{$APPLICATION_URL}>/Admin/Tasks" <{if $pageName == "tasks"}> class="current" <{/if}>>Tác vụ</a>
				<ul class="subnav">
					<li><a href="<{$APPLICATION_URL}>/Admin/Tasks/index">Tìm kiếm</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Statistics">Thống kê</a></li>
					
				</ul>			
			</li>
			<{*}><li>
				<a href="<{$APPLICATION_URL}>/Admin/Email" <{if $pageName == "mailing"}> class="current" <{/if}>>Mailing</a>			
			</li><{*}>
						
			<{if $isSuperAdmin == true}>
			<li><a href="<{$APPLICATION_URL}>/Admin/Settings/setting" <{if $pageName == "settings"}> class="current" <{/if}>>Thiết lập</a>				
				<ul class="subnav">
					<{*}><li><a href="<{$APPLICATION_URL}>/Admin/Settings/general">General Settings</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Banner">Front Page Banner</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/StaticPage/edit/page/PriceList">Package Option Settings</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Users/add/type/1">Add Admin</a></li>
					<li><a href="<{$APPLICATION_URL}>/Admin/Users/changePassword">Change Super Admin Pass</a></li><{*}>
					<li><a href="<{$APPLICATION_URL}>/Admin/Settings/setting">Tổng quan</a></li>
				</ul>			 
			</li>
			<{/if}>
		</ul>
		
		
		
		<!--End Main Navigation-->        
		<!--=========Jump Menu=========-->
        <!--<div class="jump_menu">
            <a href="#" class="jump_menu_btn">Jump To</a>
            <ul class="jump_menu_list">
                <li><a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/users2_icon.png" alt="" width="24" height="24" />Users</a></li>
                <li><a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/tools_icon.png" alt="" width="24" height="24" />Settings</a></li>
                <li><a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/messages_icon.png" alt="" width="24" height="24" />Messages</a></li>
                <li><a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/key_icon.png" alt="" width="24" height="24" />Credentials</a></li>
                <li><a href="#"><img src="<{$APPLICATION_URL}>/Themes/Default/Images/admin/documents_icon.png" alt="" width="24" height="24" />Pages</a></li>
            </ul>
        </div>-->
		<!--End Jump Menu-->
    
  	</div>


  	